/**
 * 
 */
package org.traffometer.traffosim;

/**
 * This class instantiates and starts the user interface.
 * @author Mark Stillwell
 */
public class Main {
  
  /**
   * Default Constructor.
   */
  private Main() { // NOPMD
    // this is just here to quiet automatic code checkers.
  }
  
  /**
   * Instantiates and starts the user interface.
   * @param args command line arguments
   */
  public static void main(String[] args) {
    

    TraffosimModel model = TraffosimModel.getInstance();
    View view = new View();
    try {
      new UIController(model, view, args);
    }
    catch (ConfigException e) {
      e.printStackTrace();
    }
  }
}